package support;

public class address {
   private String street;
   private String city;
   private int zip;
   private String state;
   private int areaCode;
   private String phoneNumber;
   private String countryCode;

   public address() {

   }

   public void setStreet(String street) {
      this.street = street;
   }

   public void setCity(String city) {
      this.city = city;
   }

   public void setZip(int zip) {
      this.zip = zip;

   }

   public void setState(String state) {
      this.state = state;
   }

   public void setAreaCode(int areaCode) {
      this.areaCode = areaCode;
   }

   public void setPhoneNumber(String phoneNumber) {
      this.phoneNumber = phoneNumber;
   }

   public void setCountryCode(String countryCode) {
      this.countryCode = countryCode;
   }

   public String getCity() {
      return this.city;
   }

   public int getZip() {
      return this.zip;

   }

   public String getState() {
      return this.state;
   }

   public int getAreaCode() {
      return this.areaCode;
   }

   public String getPhoneNumber() {
      return this.phoneNumber;
   }

   public String getCountryCode() {
      return this.countryCode;
   }

   public String getStreet() {
      return this.street;
   }

   public String toString() {
      String ret = "Street Address: " + this.getStreet() + "<br />City: "
            + this.getCity() + "<br />Zip Code: " + this.getZip()
            + "<br />Phone Number: " + this.getPhoneNumber() + "<br />Area Code: "
            + this.getAreaCode();
      if (this.getState() == null) {
         return (ret + "<br />Country Code: " + this.getCountryCode());
      }
      return (ret + "<br />State: " + this.getState());
   }

}